package com.config.shiro;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.web.filter.DelegatingFilterProxy;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * 配置过滤器，拦截器
 */
@WebFilter(
        filterName = "shiroFilter",
        value = "/*",
        initParams =
        @WebInitParam(name = "targetFilterLifecycle",value = "true"))
public class ShiroFilter extends DelegatingFilterProxy {

}
